package com.example.entity.vo.pc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "资源负载数组Vo")
@Data
public class ResourceLoadListVo {

    @ApiModelProperty(value = "资源ID")
    @TableId(value = "resourceId", type = IdType.AUTO)
    private Integer resourceid;

    @ApiModelProperty(value = "工厂ID")
    @TableField("factoryId")
    private Integer factoryId;

    @ApiModelProperty(value = "工厂名称")
    @TableField("factoryName")
    private String factoryname;

    @ApiModelProperty(value = "工厂编号")
    @TableField("factoryNO")
    private String factoryno;

    @ApiModelProperty(value = "具体资源组")
    @TableField("resourceGroupIdIsF")
    private Integer resourceGroupIdIsF;

    @ApiModelProperty(value = "资源组ID")
    @TableField("resourceGroupId")
    private Integer resourceGroupId;

    @ApiModelProperty(value = "资源组名称")
    @TableField("resourceGroupName")
    private String resourceGroupName;

    @ApiModelProperty(value = "资源组编号")
    @TableField("resourceGroupNO")
    private String resourceGroupNO;

    @ApiModelProperty(value = "设备编号")
    @TableField("deviceId")
    private String deviceid;

    @ApiModelProperty(value = "出厂编号")
    @TableField("SN")
    private String SN;

    @ApiModelProperty(value = "设备型号")
    @TableField("deviceModel")
    private String devicemodel;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    @TableField("deviceName")
    private String devicename;

    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "制造商")
    private String manufacturer;

    /**
     * 有效年限
     */
    @ApiModelProperty(value = "有效年限")
    @TableField("validityPeriod")
    private String validityperiod;

    @ApiModelProperty(value = "出厂日期")
    @TableField("exfactoryDate")
    private String exfactorydate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "资源类别(1. 设备 2. 生产线)")
    @TableField("resourceType")
    private String resourceType;

    /**
     * 使用部门
     */
    @ApiModelProperty(value = "使用部门")
    @TableField("useDepartment")
    private String usedepartment;

    @ApiModelProperty(value = "机台状态")
    private String status;

    @ApiModelProperty(value = "工作中心ID")
    @TableField("workCenter")
    private String workCenter;

    @ApiModelProperty(value = "工作中心名称")
    @TableField("workCenterName")
    private String workCenterName;

    @ApiModelProperty(value = "日期负载数组")
    @TableField("loadDates")
    private List<LoadDateVo> loadDates;

}
